<?php /* Smarty version Smarty-3.1.6, created on 2017-02-21 13:42:40
         compiled from "D:/cly/Show/Admin/View\User\add.html" */ ?>
<?php /*%%SmartyHeaderCode:2244258abd350df1fc5-57475542%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f3f573b377288a4f9c673f730299ae395859be87' => 
    array (
      0 => 'D:/cly/Show/Admin/View\\User\\add.html',
      1 => 1487170406,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2244258abd350df1fc5-57475542',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'info' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.6',
  'unifunc' => 'content_58abd350e7497',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58abd350e7497')) {function content_58abd350e7497($_smarty_tpl) {?><!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link href="/Show/Admin/Public/css/news.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="/Show/Admin/Public/ckeditor/ckeditor.js"></script>
    <title>添加用户</title>
  </head>
  <body>
    <form action="<?php echo @__SELF__;?>
" method="post">
    <div class="mainbox">
          <div class="title">&nbsp;&nbsp;添加用户</div>
          <div class="tablebox">
            <table class="table" border="0">
              <tr>
                <td class="tdl">用户名<font color="red">*</font></td>
                <td class="tdr">
                    <input type="text" name="user_name">
                </td>
              </tr>
              <tr>
                <td class="tdl">密码<font color="red">*</font></td>
                <td class="tdr">
                    <input type="password" name="user_pwd">
                </td>
              </tr>
              <tr>
                <td class="tdl">再次输入密码<font color="red">*</font></td>
                <td class="tdr">
                    <input type="password" name="second">
                </td>
              </tr>
              <tr>
                <td class="tdl">电子邮箱</td>
                <td class="tdr">
                    <input type="text" name="infor_email">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">联系电话</td>
                <td class="tdr">
                    <input type="text" name="infor_tel">
                </td>
              </tr>
              <tr>
                <td class="tdl">地址</td>
                <td class="tdr">
                    <input type="text" name="infor_address">
                    可不填
                </td>
              </tr>
              <tr>
                <td class="tdl">角色<font color="red">*</font></td>
                <td class="tdr">
                    <select name="user_role_id">
                        <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['n'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['n']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['name'] = 'n';
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['info']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['n']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['n']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['n']['total']);
?>
                        <option value="<?php echo $_smarty_tpl->tpl_vars['info']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['role_id'];?>
"><?php echo $_smarty_tpl->tpl_vars['info']->value[$_smarty_tpl->getVariable('smarty')->value['section']['n']['index']]['role_name'];?>
</option>
                        <?php endfor; endif; ?>
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdl">会员状态</td>
                <td class="tdr">
                    <select name="user_state">
                        <option value="0">待审核</option>
                        <option value="1">正常</option>
                    </select>
                </td>
              </tr>
              <tr>
                <td class="tdr sub">
                  <input type="submit" name="sub" value="确定">
                  <input id="reset" type="reset"  value="重置">
                </td>
              </tr>
            </table>
          </div>
    </div>
    </form>
  </body>
</html><?php }} ?>